Add `post_form' for async#236
Conversation
|
|
Yeah, simple copy pasting is so easy to do. I think cohttp needs to find a better way to solve those inconsistencies. |
|
In this particular case pulling out the request construction to |
|
iirc, the form handling is vestigial from the original ocaml-http library. I see no reason why it shouldn't be built over the core HTTP library, as it's just a client that adds specific headers and a body format. |
|
@avsm and why is |
|
@rgrinberg I agree that |
|
@marklrh Can you have a look #257 and make the same change in this PR. Should be good to merge after that. I've tried to think of a way to get rid of the code duplication but I don't want |
|
since i deleted the repo days ago, I have to create a new pull at #258 |
Resolves #235